from fastapi import APIRouter

from .chunk_router import show_file_chunks, delete_file_chunk, update_file_chunk
router = APIRouter()

router.get("/knowledge/chunks/file_chunks_list", tags=["Chunks"], summary="列出文件chunks")(show_file_chunks)
router.post("/knowledge/chunks/delete_file_chunk", tags=["Chunks"], summary="删除文件chunks")(delete_file_chunk)
router.post("/knowledge/chunks/update_file_chunk", tags=["Chunks"], summary="更新文件chunks")(update_file_chunk)
